package cc.lpz.backend.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api("hello api")
public class HelloController {
//    http://localhost:8080/hello
    @GetMapping("/hello")
    public String hello(){
        return "hello world changed1";
    }

    @GetMapping("/hello/aa")
    public String helloaa(){
        return "hello aa";
    }
}
